package lq.demo.springbootmybatis.demo.service;

import lq.demo.springbootmybatis.demo.entity.User;

import java.util.List;

public interface UserService {

    /**
     * 获取用户信息
     * @return
     */
    List<User> getUser();

    /**
     * 批量添加用户
     * @param userList
     * @return
     */
    int addBatchUser(List<User> userList);

    int updateUser(User user);

    int deleteUser(User user);

    int error(User user);
}
